package org.nbict.iot.trident.mogo;

import java.io.Serializable;

/**
 * Created by songseven on 18/6/26.
 */
public class QueryField implements Serializable {


    private static final long serialVersionUID = -3377931843059975324L;

    private String name;
    private Filterable op;

    public QueryField(String name) {
        this.name = name;
    }

    public QueryField(String name, Filterable op) {
        this.name = name;
        this.op = op;
    }

    public String name() {
        return name;
    }

    public Filterable op() {
        return op;
    }

}

